package code08_三大特征.练习;

public class Desktop extends Computer {
	private String box;

	public Desktop(String name, String brand, String cpu, String display, String box) {
		super(name, brand, cpu, display);
		this.box = box;
	}

	public String getBox() {
		return box;
	}

	public void setBox(String box) {
		this.box = box;
	}

	@Override
	public void show() {
		super.show();
		System.out.println("机箱类型：" + box);
	}

}
